// planner/modules/planning.js
// Module reference argument, assigned at the bottom
(function(Planning) {

    // Dependencies
    var Action = planner.module("action");

    // Shorthands
    // The application container
    var app = planner.app;
    
    // Define a planning
    Planning.Model = Backbone.Model.extend({
        initialize: function() {
            // Add a nested messages collection
            this.set({ actions: new Action.List() });
        }
    });

    // Define a planning list
    Planning.List = Backbone.Collection.extend({
        model: Planning.Model
    });

})(planner.module("planning"));

